{:W('Cate/header')}
{:W('Cate/left')}
<!--内容部分-->
<div class="content">
    <div class="title">
        <p>用户管理</p>
        <i class="icon-angle-right"></i>
        <p class="active1"><a href="#" onClick="javascript :history.go(-1);" style="color:#515974">用户列表</a></p>
        <i class="icon-angle-right"></i>
        <p class="active">用户详情</p>
    </div>
    <div style="width:100%;padding:0 10px;">
        <div class="main_title2">
            <ul class="clearfix">
                <li>
                    <span>{$_GET['username']}</span> / 客户名称
                </li>
                <li>
                    <em style="color:#1181cd;">{$_GET['tel']}</em> / 联系电话
                </li>
            </ul>
        </div>
    </div>
    <div class="admin_list clearfix">
        <div class="main">
            <div class="main_list" style="padding-top:15px;">
                <div class="main_list_list user_list">
                    <dl>
                        <dt>
                            <span style="width:5%">序号</span>
                            <span style="width:20%;text-align:left;padding-left:20px;">资源名称</span>
                            <span style="width:20%;text-align:left;padding-left:20px;">所属资源组</span>
                            <span style="width:50%;text-align:left;padding-left:20px;">能力集合</span>
                        </dt>
                        <volist name="array['respri']" id='row' key="k">
                        <dd>
                            <span style="width:5%">{$k}</span>
                            <span style="width:20%;text-align:left;padding-left:20px;">{$row['name']}</span>
                            <span style="width:20%;text-align:left;padding-left:20px;">{$row['groupname']}</span>
                            <span style="width:50%;text-align:left;padding-left:20px;">{$row['ability']}</span>
                        </dd>
                        </volist>
                    </dl>
                </div>
            </div>
            <div class="fy" id="page"></div>
        </div>
    </div>
</div>

<!--弹框-->
<!--添加子组织-->
<div class="hk"></div>
<div class="add_group">
    <div class="add_group_title">
        <img src="__PUBLIC__/images/i_guanbi.png" class="icon-remove">新增组织
    </div>
    <div class="add_group_center">
            <span>
                <i>*</i>组织名称
            </span>
        <input value="" type="text">
    </div>
    <div class="add_group_btn">
        <button>确定</button>
        <button>取消</button>
    </div>
</div>
</body>
<script>
    layui.use('laypage', function(){
        var laypage = layui.laypage;

        //执行一个laypage实例
        laypage.render({
            elem: 'page'
            ,count: "<?php echo $totnum; ?>"
            ,limit: "<?php echo $pagecount; ?>"
            ,layout: ['prev', 'page', 'next', 'limit', 'skip']
            ,curr:function(){
                var page = location.search.match(/pageid=(\d+)/);
                return page ? page[1] : 1;
            }()
            ,jump: function(obj,first){  //点击页码出发的事件
                if(first!=true){  //是否首次进入页面
                    var accountiddst = "<?php echo $accountiddst; ?>";
                    var tel = "<?php echo $tel; ?>";
                    var username = "<?php echo $username; ?>";
                    var _url = "/user_list/user_list_xq?pageid="+obj.curr+"&pagecount="+obj.limit+"&accountiddst="+accountiddst+"&tel="+tel+"&username="+username;
                    window.location.href = _url;
                }
            }
        });
    });
</script>
</html>